gtk-builder-tool: Operate without display
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Mar 2022 19:40:12 +0000 (15:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Mar 2022 19:40:12 +0000 (15:40 -0400)
commit525f96f2f8d03937354bb1b625727139c8fc0d6b
tree1a461d8a71d6f4bd4c2d7cf2564c0a7e7231f5c8
parent18329641887824ae242ab451d75ad26bc3694b07
gtk-builder-tool: Operate without display

The simplify and validate commands can function
without a display connection, only preview absolutely
needs one. Allow this, by using gtk_init_check().
tools/gtk-builder-tool.c